package com.panda.takeaway.entity.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author wjh
 * @date 2021/8/9 17:15
 * @Package com.panda.takeaway.entity.vo
 */
@Data
public class UserInfoVo {
    @NotNull(message = "用户id不能为空")
    private Long userId;
    @NotBlank(message = "电话号码不能为空")
    private String telephone;
    @NotBlank(message = "昵称不能为空")
    private String name;
    @NotBlank(message = "性别不能为空")
    private String sex;
    @NotBlank(message = "照片路径不能为空")
    private String photoUrl;

}
